package com.example.demo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Assess extends DishOrder {
    private Integer grade;
    private String content;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime time;

    @Override
    public String toString() {
        return "Assess{" +
                "grade=" + grade +
                ", content='" + content + '\'' +
                ", time=" + time +
                "} " + super.toString();
    }
}
